import Vue from "vue";
import Router from "vue-router";
import Login from "../views/Login.vue";
import Registry from "../views/Registry.vue";
import Home from "../views/Home.vue";
Vue.use(Router);

export default new Router({
  routes: [
    {
      path: '/',
      redirect: '/login'
    },
    {
      path: "/login",
      name: "Login",
      component: Login
    },
    {
      path: "/registry",
      name: "Registry",
      component: Registry
    },
    {
      path: "/home",
      name: "Home",
      component: Home
    }
  ]
});
